package com.mes.cloud.api.dto.request;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.*;

/**
 * 全局日志配置表
 * 
 * @author xy
 * @version 2019-11-13 09:53:12
 * @email yuan.xue3@pactera.com
 */
@Data
public class SysGlobalLogConfigureUpdateRequest implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键", required = true)
    @NotEmpty(message = "id不能为空")
    private String id;

    @ApiModelProperty(value = "名称", required = true)
    @NotEmpty(message = "name")
    private String name;

    @ApiModelProperty(value = "请求url", required = true)
    @NotEmpty(message = "requestUrl不能为空")
    private String requestUrl;

    @ApiModelProperty(value = "上级id", required = false)
    private String parentId;

    @ApiModelProperty(value = "操作类型(1.新增,2.删除,3.修改)", required = false)
    private String operationType;

    @ApiModelProperty(value = "操作等级(1.一般 2.重要)", required = false)
    private String operationLevel;

    @ApiModelProperty(value = "备注", required = false)
    private String remark;

    @ApiModelProperty(value = "状态(0：禁用，1：启用)", required = false)
    private String enableFlag;


    @ApiModelProperty(value = "修改人", required = false)
    private String updateBy;

    @ApiModelProperty(value = "更新人工号", required = false)
    private String updateByNo;

    @ApiModelProperty(value = "更新日期", required = false)
    private String updateDateStr;




}
